package com.txm.mapper;

import com.github.pagehelper.Page;
import com.txm.model.Blog.Article;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by tangxinmao on 2017/5/25.
 */
@Repository
@CacheNamespace
public interface TestMapper {
    @Select("SELECT * FROM article")
    Page<Article> findArticle();

}
